﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace QuantumServices.MailService
{
    public class PasswordConfirmationMessage : AbstractMailMessage
    {
        private string _sender;
       private string _messageBody;

        private string _username;
        private string _password;

        public string Username
        {
            get { return _username; }
            set { _username = value; }
        }


        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        public override string Sender
        {
            get { return _sender; }
        }

        public override string Subject
        {
            get
            {
                return "Account details for " + _username + " on Quantum worskpaces";
            }
        }

        public override string MessageBody
        {
            get
            {
                string strMessageBody = Username + "/n";
                strMessageBody += "Thank you for registering at Quantum Workspaces" + "/n" + "/n";
                strMessageBody += "Your username: " + Username + "/n";
                strMessageBody += "Your password: " + Password + "/n" + "/n";
                strMessageBody += "The Quantum Workspaces team";
                return _messageBody;
            }
        }
    }
}